﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AssembleComputer
{
    public class Computer
    {
        private readonly IDisplay _display;
        private readonly IMainCPU _mainCPU;


        public Computer(IDisplay display, IMainCPU mainCPU)
        {
            this._display = display;
            this._mainCPU = mainCPU;
        }
        public string Display()
        {
            return _display.Brand() + "    " + _mainCPU.Brand();
        }

    }
}
